/**
 * Created by Administrator on 2017-04-07.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'

Vue.use(Vuex)

const state = {
  goods: [],
  bxid: '',
  totalprice: 0,
  totalcount: 0,
  selectfoods: [],
  flag: true
}

export default new Vuex.Store({
  state,
  actions,
  mutations
})
